swift truncate a float

142

let formatted = String(format: "Angle: %.2f", angle)

Comments

Submit
0 Comments